.char_list_top_info {
  display: flex;
  justify-content: flex-start;
  align-items: center; 

  .char_img_box {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 10px;
    flex-shrink: 0;
    cursor: pointer;
    // border: 1px solid red;
    left: -5px;

    .char_bg {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      user-select: none;
    }

    .char_img {
      width: 70px;
      height: 70px;
      position: absolute;
      left: 5px;
      top: 5px;
      z-index: 2;
      user-select: none;
    }

  }

  .char_btns {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;

    .char_unicode {
      // margin: 0 5px 0 3px ;
      margin: 0 5px 0 0;
      cursor: pointer;
      color: var(--color);
      user-select: none;
    }

    .char_shuowen {
      margin: 0 5px 0 3px;
      // border: 1px solid red;
      cursor: pointer;
      color: var(--color);
      user-select: none;
    }

    .char_kangxi {
      margin: 0 5px 0 3px;
      // border: 1px solid red;
      cursor: pointer;
      color: var(--color);
      user-select: none;
    }

    .char_huizuan {
      margin: 0 5px 0 3px;
      // border: 1px solid red;
      cursor: pointer;
      color: var(--color);
      user-select: none;
    }

    .char_handa {
      margin: 0 5px 0 3px;
      // border: 1px solid red;
      cursor: pointer;
      color: var(--color);
      user-select: none;
    }

    .char_map {
      margin: 0 5px 0 3px;
      // border: 1px solid red;
      cursor: pointer;
      user-select: none;
    }
  }

}

.char_list_box {
  // border: 1px solid  red;

  border-radius: 6px;
  overflow: hidden;
  // border: 1px solid blue;

  // flex-wrap: wrap;
  .char_list_box_left {
    flex-shrink: 0;
    display: inline-block;
    width: 90px;
    padding: 0 5px;
    padding-top: 5px;
    height: inherit;
    border-right: 1px solid var(--border-color);
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
  }

  .char_list_box_left_mobile {
    box-sizing: border-box;
    flex-shrink: 0;
    overflow-x: auto;
    overflow-y: hidden;
    // flex-shrink: 0;
    display: inline-block;
    // width: 100%;
    padding-left: 5px;
    padding-top: 5px;
    height: 42px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    scrollbar-width: none;
  }

  .char_list_box_left_mobile::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
  }

  .char_list_box_right {
    // border: 1px solid red;
    height: inherit;
    // border: 1px solid pink;
    box-sizing: border-box;
    width: 100%;
  }

  .char_list_box_right_mobile {
    flex-shrink: 0;
    width: 100%;
    flex: 1;
    height: inherit;
  }
}

.char_box {
  border-bottom: 1px solid var(--border-color);
  // padding-bottom: 20px;
  margin-bottom: 20px;

  &:last-child {
    border: none;
    margin: 0;
    // padding: 0;
  }

  .toggle_text {
    .animated_text {
      overflow: hidden;
      transition: height 0.3s ease;
    }

    // .expand {
    // }

    // .collapse {
    //   height: 0;
    // }

    .operate {
      font-size: 18px;
      cursor: pointer;
      margin-left: 10px;
      position: relative;
      top: 5px;
    }
  }
}

.char_info {
  // margin-top: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  color: #333;
  flex-wrap: nowrap;

  .dialect_box {
    width: 90px;

    .dialect {
      max-width: 70px;
      box-sizing: border-box;
      font-size: 14px;
      display: inline-block;
      border: 1px solid var(--border-color);
      border-radius: 2px;
      margin-right: 5px;
      padding: 2px 4px;
      border-radius: 4px;
      text-align: center;
    }
  }
}


